package com.maxjay.component.metadata.core.command;

import com.maxjay.component.metadata.model.Entity;
import com.maxjay.component.metadata.model.Record;

/**
 * Entity的更新命令
 * 
 * @author zhaixm
 *
 */
public class UpdateEntityCommand extends JdbcEntityCommand {

	public UpdateEntityCommand(Entity entity, Record record) {
		super(entity, record);
	}
	
	@Override
	public void execute() {
		this.getEntityService().update(entity, records);
	}

}
